class Space {
    props = { direction: String, size: String };
    constructor() {
        let childrens = $elements.children();
        $elements.empty();
        angular.forEach(childrens, (element, index) => {
            let item = angular
                .element("<div>")
                .addClass("es-space-item")
                .append(element);
            $elements.append(item);
        });
    }
}
